package com.futureweaver.service.impl;

import com.futureweaver.domain.Disease;
import com.futureweaver.mapper.DiseaseMapper;
import com.futureweaver.service.DiseaseService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class DiseaseServiceImpl implements DiseaseService {
    @Autowired
    private DiseaseMapper mapper;

    @Override
    public List<Disease> query(Disease disease) {
        return mapper.query(disease);
    }
}
